void main() {
  List myList = ["香蕉", "苹果", "橘子"];
  print(myList);
  print(myList.length);
  print("----------");

  myList.add(1);
  print(myList);
  print(myList.length);
  print("----------");

  //reversed
  List newMyList = myList.reversed.toList(); //得到倒序列表
  print(newMyList);
  print(newMyList.length);
  print("----------");

  //isEmpty isNotEmpty 判空 判不为空
  print(myList.isEmpty);
  print(myList.isNotEmpty);
}
